package com.easywan.service;

import java.util.List;

import com.easywan.dao.IBaseDao;
import com.easywan.vo.AdminMenue;
import com.easywan.vo.base.BaseModel;

public interface BaseService {
	<T extends BaseModel> List<T> list(T model);
	List<BaseModel> selectAll();
	
	<T extends BaseModel> int add(T model);
	
	int deleteById(Integer id);
	<T extends BaseModel> T findById(Integer id);
	<T extends BaseModel> void modify(T loadFiled);
	<T extends BaseModel> List<T> listBySelectTive(T tempAdminMenue);
	

}
